<?
//error_reporting(E_ALL);
  $default_page_title = "CSNY";
  $meta_description   = "";
  $meta_keywords      = "";

//  define('HTTP_SERVER',  'http://www.citysightsny.com');
//  define('HTTPS_SERVER', 'https://www.citysightsny.com');

  define('HTTP_SERVER',  'http://servak2/~dima/big_apple');
  define('HTTPS_SERVER', 'https://servak2/~dima/big_apple');


  define('DEBUG', false);
  define('XML_API', "123123123");
  define('XML_SOURCE', "http://servak2/~dima/newyorksight");

  define('DISABLE_UPGRADES', true);
  define('DISABLE_UPSALES', true);

/* test
  define('PAYMENT_LOGIN', "citysightsnydotcom");
  define('PAYMENT_PASSWORD', "2822");
*/

/*
  define('PAYMENT_LOGIN', "city5754");
  define('PAYMENT_PASSWORD', "4575");
*/

/*
  define('PAYMENT_LOGIN', "city2465");
  define('PAYMENT_PASSWORD', "5642");
*/

  define('PAYMENT_LOGIN', "city2586");
  define('PAYMENT_PASSWORD', "6852");
 
  //broadway configuration
  define('BROADWAY_CLIENTID', "35697");
  define('BROADWAY_AUTHCODE', "110909");
  
  define('BROADWAY_URL', "http://207.246.208.157/BIWebService.asmx");
  //======================================
  
  define("ADMIN_ROOT" , HTTP_SERVER.'/admin');
  define("GCADMIN_ROOT" , HTTP_SERVER.'/gcadmin'); 
  define("ADM_DEFAULT_LANGUAGE" ,'en');

  define("TABLE_CONFIGURATION", 'configuration');

  include ("meta_def.php");
  /*
  // define our database connection
  define('DB_SERVER','localhost');
  define('DB_SERVER_USERNAME','csny');
  define('DB_SERVER_PASSWORD','tours2007');
  define('DB_DATABASE','csny');
  */
  // define our database connection
  define('DB_SERVER','localhost');
  define('DB_SERVER_USERNAME','root');
  define('DB_SERVER_PASSWORD','');
  define('DB_DATABASE','big_apple');


  //session constants
  define('BASKET_ID', 'BASKET_ID');
  define('USER_ID', 'USER_ID');
  define('SITE_ID', 'SITE_ID');
  define('AFF_ID',  'AFF_ID');

  define('PHPSESSID', 'PHPSESSID');
  define('MAXINACTIVEINTERVAL', 28800);

  //define('PROJECT_ROOT','/var/www/vhosts/citysightsny.com/httpdocs/');
  define('PROJECT_ROOT','/home/dima/public_html/big_apple/');
  define('STORAGE','storage/');
  define('VOUCHERS','vouchers/');
  define('VOUCHERS_TMP','vouchers_tmp/');
  define('LANGUAGES_ADMIN_FOLDER', PROJECT_ROOT.'admin/languages/');
  define('LANGUAGES_FOLDER', PROJECT_ROOT.'languages/');

  define('APPLICATION_LOG_DIR', PROJECT_ROOT.'log/');
  define('APPLICATION_LOG', PROJECT_ROOT.'log/'.date("Y_m_d").".log");

  define('BANNERS_URL',HTTP_SERVER.'/bnr/');
  define('FILES_PATH',PROJECT_ROOT."files/");
  define('FILES_URL',HTTP_SERVER."/files/");
  define('IMAGES_PATH',PROJECT_ROOT."img/");
  define('IMAGES_URL',HTTP_SERVER."/img/");
  define('HTTP_OUR_SITE',HTTP_SERVER."/");

  define('EMAIL','info@citysightsny.com'); // For question form

  define('MAIL_FROM','info@citysightsny.com');
//  define('MAIL_FROM','admin@citysightsny.net');
  define('MAIL_FROM_NAME','CitySights NY');
  define('ADMIN_EMAIL','mv.design@gmail.com');

//  define('GMAIL_LOGIN','csnyres@gmail.com');
//  define('GMAIL_PASS','newyork1');
  define('GMAIL_LOGIN','csnywebres@gmail.com');
  define('GMAIL_PASS','csny8758200');

  define('NEWS_COUNT',10);

  define('ARTICLE_URL_PATTERN',HTTP_SERVER);
  define('ARTICLE_URL_REPLACER','[HTTP_SERVER]');

  define('INCLUDE_PATTERN','#\[INCLUDE=([A-Za-z0-9_/\.-]+)\]#e');
  define('INCLUDE_REPLACER','include_file("$1")');

  define('INCLUDE_IMAGE','/images/php-logo.jpg');
  define('INCLUDE_IMAGE_HEIGHT',58);
  define('INCLUDE_IMAGE_WIDTH',110);
  define('INCLUDE_PATTERN_SAVE',"#<img.*alt='?\"?([A-Za-z0-9_/\.-]+)'?\"?.*src=\"?'?.*".preg_quote(INCLUDE_IMAGE)."'?\"?.*>#i");
  define('INCLUDE_REPLACER_SAVE','[INCLUDE=$1]');

  define('INCLUDE_PATTERN_EDIT','#\[INCLUDE=([A-Za-z0-9_/\.-]+)\]#');
  define('INCLUDE_REPLACER_EDIT',"<img src='".HTTP_SERVER.INCLUDE_IMAGE."' height='".INCLUDE_IMAGE_HEIGHT."' width='".INCLUDE_IMAGE_WIDTH."' alt='$1'/>");

  define('SERVER_TIME_CORRECTION',0);
define ("DEFAULT_TITLE","New York City Tours &amp; Sightseeing on Double Decker Buses by CitySights NY");
  // Some forum definitions
  define('HTTP_IMAGES', HTTP_SERVER."/images/");

	//for emails
  	$SEND_BEFORE_2_WEEKS = false;
	$SEND_BEFORE_1_WEEKS = false;
	$SEND_BEFORE_1_DAYS = false;
	$SEND_REQ_FEEDBACK = false;
?>
